package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author pzs
 * @since 2023-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("stock_purchase_item")
public class PurchaseItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 详情ID
     */
      private String itemId;

    /**
     * 采购单据ID
     */
    private String purchaseId;

    /**
     * 药品ID
     */
    private String medicinesId;

    /**
     * 采购数量
     */
    private Integer purchaseNumber;

    /**
     * 批发价
     */
    private BigDecimal tradePrice;

    /**
     * 批发额
     */
    private BigDecimal tradeTotalAmount;

    /**
     * 药品生产批次号
     */
    private String batchNumber;

    /**
     * 备注
     */
    private String remark;

    /**
     * 药品名称
     */
    private String medicinesName;

    /**
     * 药品分类 sys_dict_data表his_medicines_type
     */
    private String medicinesType;

    /**
     * 处方类型 sys_dict_data表his_prescription_type
     */
    private String prescriptionType;

    /**
     * 生产厂家ID
     */
    private String producterId;

    /**
     * 换算量
     */
    private Integer conversion;

    /**
     * 单位（g/条）
     */
    private String unit;

    /**
     * 关键字
     */
    private String keywords;


}
